package de.staxx6.bomber;

import java.util.logging.Level;

import com.jme3.app.SimpleApplication;

public class Bomber extends SimpleApplication {

	public static void main(String[] args) {
		Bomber app = new Bomber();
		
		app.start();
	}
	
	public static MenuState MENUSTATE;
	public static SetupState SETUPSTATE;
	public static GameState GAMESTATE;
	public static GameOverState GAMEOVERSTATE;
	
	public void simpleInitApp() {
		java.util.logging.Logger.getLogger("").setLevel(Level.WARNING);
		setDisplayStatView(false);
		
		MENUSTATE = new MenuState(this);
		SETUPSTATE = new SetupState(this);
		GAMESTATE = new GameState(this);
		GAMEOVERSTATE = new GameOverState(this);
		
		stateManager.attach(MENUSTATE);
	}
	
	public void simpleUpdate(float delta) {};
}
